import Vue from 'vue'

// 引入element-ui
import 'element-ui/lib/theme-chalk/index.css';
import ElementUI from 'element-ui'
Vue.use(ElementUI)

Vue.config.productionTip = false

// 引入路由
import router from '@/router/index'
// 引入store仓库
import store from '@/store/index'

import App from './App.vue'

new Vue({
  store,
  router,
  render: h => h(App),
}).$mount('#app')

// new Vue({
//   el: '#app',
//   router,
//   components: { App },
//   template: '<App/>'
// })